package com.guoguo.entity;

import java.io.Serializable;
import java.util.Date;

public class Replys implements Serializable {
    private String replyId;

    private String commId;

    private Integer replyType;

    private String userId;

    private String toUserId;

    private Integer isShow;

    private Integer favoriteNum;

    private Date createTime;

    private Date updateTime;

    private String args1;

    private String args2;

    private String args3;

    private String args4;

    private String args5;

    private String replyContent;

    private static final long serialVersionUID = 1L;

    public String getReplyId() {
        return replyId;
    }

    public void setReplyId(String replyId) {
        this.replyId = replyId == null ? null : replyId.trim();
    }

    public String getCommId() {
        return commId;
    }

    public void setCommId(String commId) {
        this.commId = commId == null ? null : commId.trim();
    }

    public Integer getReplyType() {
        return replyType;
    }

    public void setReplyType(Integer replyType) {
        this.replyType = replyType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getToUserId() {
        return toUserId;
    }

    public void setToUserId(String toUserId) {
        this.toUserId = toUserId == null ? null : toUserId.trim();
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public Integer getFavoriteNum() {
        return favoriteNum;
    }

    public void setFavoriteNum(Integer favoriteNum) {
        this.favoriteNum = favoriteNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getArgs1() {
        return args1;
    }

    public void setArgs1(String args1) {
        this.args1 = args1 == null ? null : args1.trim();
    }

    public String getArgs2() {
        return args2;
    }

    public void setArgs2(String args2) {
        this.args2 = args2 == null ? null : args2.trim();
    }

    public String getArgs3() {
        return args3;
    }

    public void setArgs3(String args3) {
        this.args3 = args3 == null ? null : args3.trim();
    }

    public String getArgs4() {
        return args4;
    }

    public void setArgs4(String args4) {
        this.args4 = args4 == null ? null : args4.trim();
    }

    public String getArgs5() {
        return args5;
    }

    public void setArgs5(String args5) {
        this.args5 = args5 == null ? null : args5.trim();
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent == null ? null : replyContent.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Replys other = (Replys) that;
        return (this.getReplyId() == null ? other.getReplyId() == null : this.getReplyId().equals(other.getReplyId()))
            && (this.getCommId() == null ? other.getCommId() == null : this.getCommId().equals(other.getCommId()))
            && (this.getReplyType() == null ? other.getReplyType() == null : this.getReplyType().equals(other.getReplyType()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getToUserId() == null ? other.getToUserId() == null : this.getToUserId().equals(other.getToUserId()))
            && (this.getIsShow() == null ? other.getIsShow() == null : this.getIsShow().equals(other.getIsShow()))
            && (this.getFavoriteNum() == null ? other.getFavoriteNum() == null : this.getFavoriteNum().equals(other.getFavoriteNum()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getArgs1() == null ? other.getArgs1() == null : this.getArgs1().equals(other.getArgs1()))
            && (this.getArgs2() == null ? other.getArgs2() == null : this.getArgs2().equals(other.getArgs2()))
            && (this.getArgs3() == null ? other.getArgs3() == null : this.getArgs3().equals(other.getArgs3()))
            && (this.getArgs4() == null ? other.getArgs4() == null : this.getArgs4().equals(other.getArgs4()))
            && (this.getArgs5() == null ? other.getArgs5() == null : this.getArgs5().equals(other.getArgs5()))
            && (this.getReplyContent() == null ? other.getReplyContent() == null : this.getReplyContent().equals(other.getReplyContent()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getReplyId() == null) ? 0 : getReplyId().hashCode());
        result = prime * result + ((getCommId() == null) ? 0 : getCommId().hashCode());
        result = prime * result + ((getReplyType() == null) ? 0 : getReplyType().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getToUserId() == null) ? 0 : getToUserId().hashCode());
        result = prime * result + ((getIsShow() == null) ? 0 : getIsShow().hashCode());
        result = prime * result + ((getFavoriteNum() == null) ? 0 : getFavoriteNum().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getArgs1() == null) ? 0 : getArgs1().hashCode());
        result = prime * result + ((getArgs2() == null) ? 0 : getArgs2().hashCode());
        result = prime * result + ((getArgs3() == null) ? 0 : getArgs3().hashCode());
        result = prime * result + ((getArgs4() == null) ? 0 : getArgs4().hashCode());
        result = prime * result + ((getArgs5() == null) ? 0 : getArgs5().hashCode());
        result = prime * result + ((getReplyContent() == null) ? 0 : getReplyContent().hashCode());
        return result;
    }
}